package com.glory.brepda.entity;

import com.google.gson.annotations.SerializedName;

import java.io.Serializable;

/**
 * FileName: LotInfoEntity
 * Author: JJH
 * Date: 2024/1/18 14:19
 * Description: lotSubmissionhis信息
 * History:
 */
public class LotStopproductEntity implements Serializable {

    private LotBean LOT;
    private String LOTSTATE;

    public LotBean getLOT() {
        return LOT == null ? new LotBean() : LOT;
    }
    public void setLOT(LotBean LOT) {
        this.LOT = LOT;
    }

    public String getLOTSTATE(){
        return LOTSTATE;
    }
    public void setLOTSTATE(String LOTSTATE){
        this.LOTSTATE=LOTSTATE;
    }

    public class LotBean implements Serializable {

        @SerializedName("OBJECTRRN")
        private String OBJECTRRN;
        @SerializedName("ORGRRN")
        private String ORGRRN;
        @SerializedName("LOTID")
        private String LOTID;
        @SerializedName("SUBSTRATEID2")
        private String SUBSTRATEID2;
        @SerializedName("LOTTYPE")
        private String LOTTYPE;
        @SerializedName("PARTNAME")
        private String PARTNAME;
        @SerializedName("PARTVERSION")
        private String PARTVERSION;
        @SerializedName("PARTDESC")
        private String PARTDESC;
        @SerializedName("CUSTOMERCODE")
        private String CUSTOMERCODE;
        @SerializedName("MAINQTY")
        private String MAINQTY;
        @SerializedName("PROCESSNAME")
        private String PROCESSNAME;
        @SerializedName("PROCESSVERSION")
        private String PROCESSVERSION;
        @SerializedName("PROCEDURENAME")
        private String PROCEDURENAME;
        @SerializedName("PROCEDUREVERSION")
        private String PROCEDUREVERSION;
        @SerializedName("STEPNAME")
        private String STEPNAME;
        @SerializedName("STEPVERSION")
        private String STEPVERSION;
        @SerializedName("STEPDESC")
        private String STEPDESC;
        @SerializedName("STEPDESCPTION")
        private String STEPDESCPTION;
        @SerializedName("STEPRRN")
        private String STEPRRN;
        @SerializedName("COMCLASS")
        private String COMCLASS;
        @SerializedName("STATE")
        private String STATE;
        @SerializedName("UPDATED")
        private String UPDATED;
        @SerializedName("UPDATEDBY")
        private String UPDATEDBY;
        @SerializedName("MAINMATTYPE")
        private String MAINMATTYPE;
        @SerializedName("HOLDSTATE")
        private String HOLDSTATE;
        @SerializedName("PRIORITY")
        private String PRIORITY;
        @SerializedName("WOID")
        private String WOID;
        @SerializedName("REWORKCOUNT")
        private String REWORKCOUNT;
        @SerializedName("USECOUNT")
        private String USECOUNT;
        @SerializedName("OPERATOR1")
        private String OPERATOR1;
        @SerializedName("CREATED")
        private String CREATED;
        @SerializedName("ISSUBLOT")
        private String ISSUBLOT;
        @SerializedName("QUEUETIME")
        private String QUEUETIME;
        @SerializedName("TRACKINTIME")
        private String TRACKINTIME;
        @SerializedName("TRACKOUTTIME")
        private String TRACKOUTTIME;
        @SerializedName("EQUIPMENTID")
        private String EQUIPMENTID;
        @SerializedName("SUBUNITTYPE")
        private String SUBUNITTYPE;
        @SerializedName("CUSTOMERORDER")
        private String CUSTOMERORDER;
        @SerializedName("CUSTOMERLOTID")
        private String CUSTOMERLOTID;
        @SerializedName("PARTRRN")
        private String PARTRRN;
        @SerializedName("DURABLEID")
        private String DURABLEID;
        @SerializedName("LOCATORID")
        private String LOCATORID;
        @SerializedName("SUBQTY")
        private String SUBQTY;
        @SerializedName("TRACK_IN_SUB_QTY")
        private String TRACK_IN_SUB_QTY;
        @SerializedName("PARTTYPE")
        private String PARTTYPE;
        @SerializedName("CUSTOMERPARTID")
        private String CUSTOMERPARTID;
        @SerializedName("MATERIALTYPE")
        private String MATERIALTYPE;
        @SerializedName("MATERIALDESC")
        private String MATERIALDESC;
        @SerializedName("MATERIALNAME")
        private String MATERIALNAME;
        @SerializedName("JUDGE1")
        private String JUDGE1;
        @SerializedName("openBigMax")
        private String OPENBIGMAX;
        @SerializedName("openBigMin")
        private String OPENBIGMIN;
        @SerializedName("LOCATION")
        private String LOCATION;
        private LotInfoEntity.UDFEntity UDF;


        public String getMATERIALDESC() {
            return MATERIALDESC == null ? "" : MATERIALDESC;
        }

        public void setMATERIALDESC(String MATERIALDESC) {
            this.MATERIALDESC = MATERIALDESC;
        }

        public String getJUDGE1() {
            return JUDGE1 == null ? "" : JUDGE1;
        }

        public void setJUDGE1(String JUDGE1) {
            this.JUDGE1 = JUDGE1;
        }

        public String getOPENBIGMAX() {
            return OPENBIGMAX == null ? "" : OPENBIGMAX;
        }

        public void setOPENBIGMAX(String OPENBIGMAX) {
            this.OPENBIGMAX = OPENBIGMAX;
        }

        public String getOPENBIGMIN() {
            return OPENBIGMIN == null ? "" : OPENBIGMIN;
        }

        public void setOPENBIGMIN(String OPENBIGMIN) {
            this.OPENBIGMIN = OPENBIGMIN;
        }

        public String getMATERIALNAME() {
            return MATERIALNAME == null ? "" : MATERIALNAME;
        }

        public void setMATERIALNAME(String MATERIALNAME) {
            this.MATERIALNAME = MATERIALNAME;
        }

        public String getMATERIALTYPE() {
            return MATERIALTYPE == null ? "" : MATERIALTYPE;
        }

        public void setMATERIALTYPE(String MATERIALTYPE) {
            this.MATERIALTYPE = MATERIALTYPE;
        }

        public String getCUSTOMERPARTID() {
            return CUSTOMERPARTID == null ? "" : CUSTOMERPARTID;
        }

        public void setCUSTOMERPARTID(String CUSTOMERPARTID) {
            this.CUSTOMERPARTID = CUSTOMERPARTID;
        }

        public String getPARTTYPE() {
            return PARTTYPE == null ? "" : PARTTYPE;
        }

        public void setPARTTYPE(String PARTTYPE) {
            this.PARTTYPE = PARTTYPE;
        }

        public String getTRACK_IN_SUB_QTY() {
            return TRACK_IN_SUB_QTY;
        }

        public void setTRACK_IN_SUB_QTY(String TRACK_IN_SUB_QTY) {
            this.TRACK_IN_SUB_QTY = TRACK_IN_SUB_QTY;
        }

        public String getSUBQTY() {
            return SUBQTY;
        }

        public void setSUBQTY(String SUBQTY) {
            this.SUBQTY = SUBQTY;
        }

        public String getLOCATORID() {
            return LOCATORID;
        }

        public void setLOCATORID(String LOCATORID) {
            this.LOCATORID = LOCATORID;
        }

        public String getCUSTOMERLOTID() {
            return CUSTOMERLOTID;
        }

        public void setCUSTOMERLOTID(String CUSTOMERLOTID) {
            this.CUSTOMERLOTID = CUSTOMERLOTID;
        }

        public LotInfoEntity.UDFEntity getUDF() {
            return UDF;
        }

        public void setUDF(LotInfoEntity.UDFEntity UDF) {
            this.UDF = UDF;
        }

        public String getDURABLEID() {
            return DURABLEID;
        }

        public void setDURABLEID(String DURABLEID) {
            this.DURABLEID = DURABLEID;
        }

        public String getMAINMATTYPE() {
            return MAINMATTYPE == null ? "" : MAINMATTYPE;
        }

        public void setMAINMATTYPE(String MAINMATTYPE) {
            this.MAINMATTYPE = MAINMATTYPE;
        }

        public String getCUSTOMERORDER() {
            return CUSTOMERORDER == null ? "" : CUSTOMERORDER;
        }

        public void setCUSTOMERORDER(String CUSTOMERORDER) {
            this.CUSTOMERORDER = CUSTOMERORDER;
        }

        public String getEQUIPMENTID() {
            return EQUIPMENTID == null ? "" : EQUIPMENTID;
        }

        public void setEQUIPMENTID(String EQUIPMENTID) {
            this.EQUIPMENTID = EQUIPMENTID;
        }

        public String getOBJECTRRN() {
            return OBJECTRRN == null ? "" : OBJECTRRN;
        }

        public void setOBJECTRRN(String OBJECTRRN) {
            this.OBJECTRRN = OBJECTRRN;
        }

        public String getORGRRN() {
            return ORGRRN == null ? "" : ORGRRN;
        }

        public void setORGRRN(String ORGRRN) {
            this.ORGRRN = ORGRRN;
        }

        public String getLOTID() {
            return LOTID == null ? "" : LOTID;
        }

        public void setLOTID(String LOTID) {
            this.LOTID = LOTID;
        }

        public String getSUBSTRATEID1() {
            return SUBSTRATEID2 == null ? "" : SUBSTRATEID2;
        }

        public void setSUBSTRATEID1(String SUBSTRATEID1) {
            this.SUBSTRATEID2 = SUBSTRATEID1;
        }

        public String getLOTTYPE() {
            return LOTTYPE == null ? "" : LOTTYPE;
        }

        public void setLOTTYPE(String LOTTYPE) {
            this.LOTTYPE = LOTTYPE;
        }

        public String getPARTNAME() {
            return PARTNAME == null ? "" : PARTNAME;
        }

        public void setPARTNAME(String PARTNAME) {
            this.PARTNAME = PARTNAME;
        }

        public String getPARTVERSION() {
            return PARTVERSION == null ? "" : PARTVERSION;
        }

        public void setPARTVERSION(String PARTVERSION) {
            this.PARTVERSION = PARTVERSION;
        }

        public String getPARTDESC() {
            return PARTDESC == null ? "" : PARTDESC;
        }

        public void setPARTDESC(String PARTDESC) {
            this.PARTDESC = PARTDESC;
        }

        public String getCUSTOMERCODE() {
            return CUSTOMERCODE == null ? "" : CUSTOMERCODE;
        }

        public void setCUSTOMERCODE(String CUSTOMERCODE) {
            this.CUSTOMERCODE = CUSTOMERCODE;
        }

        public String getMAINQTY() {
            return MAINQTY == null ? "0" : MAINQTY;
        }

        public void setMAINQTY(String MAINQTY) {
            this.MAINQTY = MAINQTY;
        }

        public String getPROCESSNAME() {
            return PROCESSNAME == null ? "" : PROCESSNAME;
        }

        public void setPROCESSNAME(String PROCESSNAME) {
            this.PROCESSNAME = PROCESSNAME;
        }

        public String getPROCESSVERSION() {
            return PROCESSVERSION == null ? "" : PROCESSVERSION;
        }

        public void setPROCESSVERSION(String PROCESSVERSION) {
            this.PROCESSVERSION = PROCESSVERSION;
        }

        public String getPROCEDURENAME() {
            return PROCEDURENAME == null ? "" : PROCEDURENAME;
        }

        public void setPROCEDURENAME(String PROCEDURENAME) {
            this.PROCEDURENAME = PROCEDURENAME;
        }

        public String getPROCEDUREVERSION() {
            return PROCEDUREVERSION == null ? "" : PROCEDUREVERSION;
        }

        public void setPROCEDUREVERSION(String PROCEDUREVERSION) {
            this.PROCEDUREVERSION = PROCEDUREVERSION;
        }

        public String getSTEPNAME() {
            return STEPNAME == null ? "" : STEPNAME;
        }

        public String getSTEPDESCPTION() {
            return STEPDESCPTION == null ? "" : STEPDESCPTION;
        }

        public void setSTEPDESCPTION(String STEPDESCPTION) {
            this.STEPDESCPTION = STEPDESCPTION;
        }

        public void setSTEPNAME(String STEPNAME) {
            this.STEPNAME = STEPNAME;
        }

        public String getSTEPVERSION() {
            return STEPVERSION == null ? "" : STEPVERSION;
        }

        public void setSTEPVERSION(String STEPVERSION) {
            this.STEPVERSION = STEPVERSION;
        }

        public String getSTEPDESC() {
            return STEPDESC == null ? "" : STEPDESC;
        }

        public void setSTEPDESC(String STEPDESC) {
            this.STEPDESC = STEPDESC;
        }

        public String getCOMCLASS() {
            return COMCLASS == null ? "" : COMCLASS;
        }

        public void setCOMCLASS(String COMCLASS) {
            this.COMCLASS = COMCLASS;
        }

        public String getSTATE() {
            if (STATE == null || STATE.equals("")) {
                return "";
            }
            String state = "";
            switch (STATE) {
                case "WAIT":
                    state = "等待作业";
                    break;
                case "RUN":
                    state = "正在作业";
                    break;
                case "FIN":
                    state = "结束作业";
                    break;
                case "SHIP":
                    state = "已经入库";
                    break;
                case "TERM":
                    state = "终止批次";
                    break;
                case "MERGE":
                    state = "被合批";
                    break;
                case "SCHD":
                    state = "待投产";
                    break;
                case "PACKED":
                    state = "拥挤状态";
                    break;
                case "TRACKOUT":
                    state = "出站状态";
                    break;
            }
            return state;
        }

        public void setSTATE(String STATE) {
            this.STATE = STATE;
        }

        public String getUPDATED() {
            return UPDATED == null ? "" : UPDATED;
        }

        public void setUPDATED(String UPDATED) {
            this.UPDATED = UPDATED;
        }

        public String getUPDATEDBY() {
            return UPDATEDBY == null ? "" : UPDATEDBY;
        }

        public void setUPDATEDBY(String UPDATEDBY) {
            this.UPDATEDBY = UPDATEDBY;
        }

        public String getHOLDSTATE() {
            String holdstate = "";
            switch (HOLDSTATE){
                case "Off":
                    holdstate = "正常";
                    break;
                case "On":
                    holdstate = "暂扣";
                    break;
            }
            return HOLDSTATE == null ? "" : holdstate;
        }

        public void setHOLDSTATE(String HOLDSTATE) {
            this.HOLDSTATE = HOLDSTATE;
        }

        public String getPRIORITY() {
            return PRIORITY == null ? "" : PRIORITY;
        }

        public void setPRIORITY(String PRIORITY) {
            this.PRIORITY = PRIORITY;
        }

        public String getWOID() {
            return WOID == null ? "" : WOID;
        }

        public void setWOID(String WOID) {
            this.WOID = WOID;
        }

        public String getREWORKCOUNT() {
            return REWORKCOUNT == null ? "" : REWORKCOUNT;
        }

        public void setREWORKCOUNT(String REWORKCOUNT) {
            this.REWORKCOUNT = REWORKCOUNT;
        }

        public String getUSECOUNT() {
            return USECOUNT == null ? "" : USECOUNT;
        }

        public void setUSECOUNT(String USECOUNT) {
            this.USECOUNT = USECOUNT;
        }

        public String getOPERATOR1() {
            return OPERATOR1 == null ? "" : OPERATOR1;
        }

        public void setOPERATOR1(String OPERATOR1) {
            this.OPERATOR1 = OPERATOR1;
        }

        public String getCREATED() {
            return CREATED == null ? "" : CREATED;
        }

        public void setCREATED(String CREATED) {
            this.CREATED = CREATED;
        }

        public String getISSUBLOT() {
            return ISSUBLOT == null ? "" : ISSUBLOT;
        }

        public void setISSUBLOT(String ISSUBLOT) {
            this.ISSUBLOT = ISSUBLOT;
        }

        public String getLOCATION() {
            return LOCATION == null ? "" : LOCATION;
        }

        public void setLOCATION(String LOCATION) {
            this.LOCATION = LOCATION;
        }

        public String getTRACKINTIME() {
            return TRACKINTIME == null ? "" : TRACKINTIME;
        }

        public void setTRACKINTIME(String TRACKINTIME) {
            this.TRACKINTIME = TRACKINTIME;
        }

        public String getTRACKOUTTIME() {
            return TRACKOUTTIME == null ? "" : TRACKOUTTIME;
        }

        public void setTRACKOUTTIME(String TRACKOUTTIME) {
            this.TRACKOUTTIME = TRACKOUTTIME;
        }

        public String getSUBUNITTYPE() {
            return SUBUNITTYPE == null ? "" : SUBUNITTYPE;
        }

        public void setSUBUNITTYPE(String SUBUNITTYPE) {
            this.SUBUNITTYPE = SUBUNITTYPE;
        }

        public String getSUBSTRATEID2() {
            return SUBSTRATEID2;
        }

        public String getSTEPRRN() {
            return STEPRRN;
        }

        public String getQUEUETIME() {
            return QUEUETIME;
        }

        public String getPARTRRN() {
            return PARTRRN;
        }

        public void setSUBSTRATEID2(String SUBSTRATEID2) {
            this.SUBSTRATEID2 = SUBSTRATEID2;
        }

        public void setSTEPRRN(String STEPRRN) {
            this.STEPRRN = STEPRRN;
        }

        public void setQUEUETIME(String QUEUETIME) {
            this.QUEUETIME = QUEUETIME;
        }



        public void setPARTRRN(String PARTRRN) {
            this.PARTRRN = PARTRRN;
        }
    }



}
